package example;

/**
 * 电能适配器
 *
 * @author zhang he qiang
 */
public class ElectricAdapter implements Motor {
    private ElectricMotor emotor;

    public ElectricAdapter() {
        emotor = new ElectricMotor();
    }

    public void drive() {
        emotor.electricDrive();
    }
}
